import http from '../http'

// 分页查询库存明细（请求体传参）
export function pageInventoryDetails(data) {
  return http.post('/warehousing/inventory-details/page', data)
}

// 获取库存明细详情（?id=xx）
export function getInventoryDetail(id) {
  return http.get('/warehousing/inventory-details/getDetail', { params: { id } })
}

// 新增库存明细
export function addInventoryDetail(data) {
  return http.post('/warehousing/inventory-details', data)
} 